| > !Text>Draw.!Run
|
| Run file for Text>Draw
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
If "<TextDraw$Running>" = "yes" Then Error "Text>Draw is already running"
|
IconSprites <Obey$Dir>.!Sprites
|
| Find path to file
Set TextDraw$Dir <Obey$Dir>
|
|
set temp$flag 1
RMEnsure ABCLibrary 0 set temp$flag 0
RMensure ABCLibrary 4.13 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad System:modules.ABCLib
RMensure ABCLibrary 4.13 Error You need the ABClibrary ver 4.13 or later installed
|
set temp$flag 1
RMEnsure CJWimpUtil 0 set temp$flag 0
RMEnsure CJWimpUtil 0.25 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad System:modules.cjWimpUtil
RMEnsure CJWimpUtil 0.25 Error You need the CJWimpUtil module installed (v 0.25 or later)
|
set temp$flag 1
RMEnsure CJDrawUtil 0 set temp$flag 0
RMEnsure CJDrawUtil 0.25 if "<temp$flag>" = "1" Then Error 0 Old CJDrawUtil installed Else RMLoad System:modules.cjDrawUtil
RMEnsure CJDrawUtil 0.25 Error You need the CJDrawUtil module installed (v 0.25 or later)
unset temp$flag
|
|
| Check memory allocation
WimpSlot -min 108K -max 108K
|
| Now start program
Run <TextDraw$Dir>.!RunImage
